package work.timejay.user.entity.books;

import work.timejay.common.SuperModel;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 目录表
 * </p>
 *
 * @author 王文杰
 * @since 2023-12-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("books_catalogue")
public class BooksCatalogue extends SuperModel<BooksCatalogue> {

    private static final long serialVersionUID = 1L;

    /**
     * 标题
     */
    @TableField("title")
    private String title;

    @TableField("book_id")
    private Long bookId;

    @TableField("handler_status")
    private Integer handlerStatus;

    /**
     * 内容
     */
    @TableField("content")
    private String content;

    /**
     * 排序
     */
    @TableField("order_num")
    private Long orderNum;

    /**
     * 排序
     */
    @TableField("source_link")
    private String sourceLink;


    public static final String TITLE = "title";

    public static final String CONTENT = "content";

    public static final String ORDER_NUM = "order_num";

    @Override
    protected Serializable pkVal() {
        return null;
    }

}
